﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GSBA.Common
{
    internal static class StringExtensions
    {
        public static bool ContainsIgnoreCase(this string s, string value)
        {
            return string.IsNullOrWhiteSpace(s) ? string.IsNullOrWhiteSpace(value) : s.IndexOf(value, StringComparison.OrdinalIgnoreCase) > -1;
        }
    }
}
